



class Address{
  // static const String homeHost = 'http://222.92.131.2:1000';
  // static const String homeHost = 'http://192.168.0.32:1000';

  // static const String homeHost = 'http://192.168.31.150:9099';
  // static const String homeHost = 'http://bbs.dtcloud360.com';
  // static const String homeHost = 'http://49.234.222.178:8082';
  // static const String homeHost = 'http://192.168.31.202:9099';
  // static const String homeHost = 'http://www.amoserp.com';


  /// 正式服务
  static const String homeHost = 'http://192.168.32.47:8888';
  // static const String videocalling = 'demo.cloudwebrtc.com';
  // static const String videocalling = '221.178.232.138';
  static const String host = '/api/v1';
  // 登录
  static const String login = '$host/login';
  // 一键登录
  static const String oauth = '$host/fast_login_mobile';
  /// send code
  static const String sendCode = '${host}/send_sms_mobile';

  /// 注册
  static const String signup = '${host}/signup';
  /// 忘记密码
  static const String forgetPassword = '${host}/forget_password';

  /// 首页全部
  static const String appGrid = '${host}/app_grid/all';

  /// 桌面应用
  static const String appGridIndex = '${host}/app_grid/index';

  /// 移除关注的应用
  static const String appGridRemove = '${host}/app_grid/remove';
  /// 添加桌面应用
  static const String appGridFocus = '${host}/app_grid/focus';



  /// 工单列表
  static const String productionList = '${host}/production/list';
  /// 工单详情
  static const String productionDetail = '${host}/production/detail/';
  /// 物料详情
  static const String bomDetail = '${host}/bom/detail/';
  /// 消息列表
  static const String messageList = '${host}/message/list/mrp.production/4';
  /// 新闻列表
  static const String newsList = '${host}/news/list/0';
  /// 新闻详情
  static const String newsDetail = '${host}/news/detail';
  /// 新闻评论
  static const String newsComment = '${host}/news/comment';
  /// 新闻收藏
  static const String newsCollect = '${host}/news/collect';
  /// 新闻收藏列表
  static const String newsCollectList = '${host}/news/collect/list';
  /// 视频列表
  static const String videoList = '${host}/news/video/list/0';
  /// 点赞
  static const String newsPraise = '${host}/news/praise';

  /// 查寻的接口
  static const String queryData = '$host/page/0';

  // 公开接口

  static const String news = '${host}/public_getattr/0';


  /// 公共函数；
  static const String pubilc_getattr = '$host/public_getattr/0';


  //
  static const String getattt = '${host}/getattr/0';
 /// 创建
  static const String create = '${host}/create/0';

  /// 创建一个
  static const String createData = '$host/create/0';

  /// 商品列表
  static const String products = '${host}/api/product_template/products';
}

